home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2002 March
/
PCWorld_2002-03_cd.bin
/
Software
/
TemaCD
/
xteq
/
setup.exe
/
{app}
/
net_inst
/
setup.bat
< prev
Wrap
DOS Batch File
|
2001-01-13
|
2KB
|
108 lines
@echo off
cls
echo.
echo Starting SETUP of Xteq Systems X-Setup....
echo.
call common.bat
IF "%XSET_PATH%"=="" GOTO DISPLAY_ERROR
IF EXIST %XSET_PATH%\bin\XQXSetup.DLL GOTO START_WORK
GOTO NOT_FOUND
:START_WORK
SET SF=%XSET_PATH%\bin\Msscript.ocx
echo Registering MS Script Control
echo (%SF%)
%XSET_PATH%\bin\regsvr32.exe /s /c "%SF%"
echo.
REM pause
SET SF=%XSET_PATH%\bin\Stdvcl32.dll
echo Registering Borland.com VCL COM Library
echo (%SF%)
%XSET_PATH%\bin\regsvr32.exe /s /c "%SF%"
echo.
SET SF=%XSET_PATH%\bin\XQXSetup.DLL
echo Registering Xteq Systems X-Setup Engine
echo (%SF%)
%XSET_PATH%\bin\regsvr32.exe /s /c "%SF%"
echo.
SET SF=%XSET_PATH%\bin\XQXsetupGlobal.exe
echo Registering Xteq Systems X-Setup Global Server
echo (%SF%)
"%SF%" /regserver
echo.
IF EXIST %XSET_PATH%\CONFIG.REG GOTO DO_MERGE
goto NO_MERGE
:DO_MERGE
echo Merging registry files
regedit /s %XSET_PATH%\CONFIG.REG
echo.
goto NO_MERGE
:NO_MERGE
echo.
echo.
echo.
echo Setup finished - You can use X-Setup by starting the file
echo "%XSET_PATH%\bin\XQXSetupStart.exe"
echo.
echo.
goto bye
:DISPLAY_ERROR
REM pause
echo.
echo --------------------------------------------------------------------
echo ERROR!
echo.
echo Variable "XSET_PATH" in COMMON.BAT not set, unable to continue!
echo Please see NET_INST.TXT for detailed instructions.
echo.
echo X-Setup was NOT installed!
echo --------------------------------------------------------------------
echo.
goto bye
:NOT_FOUND
REM echo NOT FOUND!
REM pause
echo.
echo --------------------------------------------------------------------
echo ERROR!
echo.
echo Unable to locate X-Setup in the path %XSET_PATH%. Please make sure
echo that the path %XSET_PATH% is correct and that you have at least
echo READ ACCESS to it.
echo.
echo X-Setup was NOT installed!
echo --------------------------------------------------------------------
echo.
goto bye
:bye
echo.
echo.
pause